#
# License Agreement.
#
# encuestame system online surveys
# Copyright (C) 2005-2008 encuestame Development Team
#
# This product is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License version 2.1 as published by the Free Software Foundation.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301  USA
#

encuestame.database.version = 1

#-----------------------------------------------------------------------------
# if false use the compressed static files if not, development status is enabled and
# use uncompressed static files, useful to development
encuestame.development = false


#-----------------------------------------------------------------------------
# Default language
#-----------------------------------------------------------------------------
encuestame.lang = en_US

#-----------------------------------------------------------------------------
# Error level, display a different size of error on depends the error level
# 0 - None
# 1 - Medium
# 2 - High
#-----------------------------------------------------------------------------
encuestame.error.level = 0

## Encuestame Site Name
encuestame.site.name = Encuestame
encuestame.site.description =
encuestame.site.type = website
encuestame.site.og.image =

## Debug Logging
# enable or disable debug mode
## This property should be FALSE always, if is true,  the behaviour of some stuff should be wrong
### What change if this value is true?
## * localhost domain is valid as internet domain value (short url)
## * javascript debug is enabled
encuestame.error.debug = false

## Enable display on error pages the bug track URL
encuestame.error.display_bugtracking = false
encuestame.error.webmaster.notify=

#-----------------------------------------------------------------------------
# Required configuration settings
#-----------------------------------------------------------------------------

# Installation type 'auto' or 'manual'
setup.installation.type = manual
# Enable demo install data
setup.installation.demo = false
# Installation type 'sql' or 'hibernate'
setup.installation.handler = sql
# Send email on startup
setup.email.notification = false
# Default email to notify
setup.email.notification.webmaster = demo@fakedomain.org
# Chechk internet and display message on start up process
setup.check.network = false

#----------------------------------------------------------------------------
# Database configuration settings
#----------------------------------------------------------------------------
datasource.userbd = sa
datasource.pass=
#################
## Type Database
## MySQL = mysql
## POSTGRESSQL = postgres
## ORACLE = oracle
## MSSQL = mssql
## DERBY = derby
## DB2 = db2
## HSQLDB = hsqldb
datasource.database = hsqldb
datasource.classname = org.hsqldb.jdbcDriver
datasource.dialect = org.hibernate.dialect.HSQLDialect
datasource.showsql=false
datasource.delimited =
datasource.hbm2ddl.auto = none
#########
## HSQLDB is set by default on memory, you can create file to store database with this modification.
##	datasource.urldb = jdbc:hsqldb:file:/path
datasource.urldb = jdbc:hsqldb:mem:encuestame

#------------------------------------------------------------------------------
# Security Config
#------------------------------------------------------------------------------
#Force SSL on login
spring.sec.forceLoginSSL=false
#Retrieve permission by group
spring.sec.roleByGroup = true
#Retrieve permission by author
spring.sec.roleByAuthor = true
#Default Rol
spring.sec.role.prefix = ENCUESTAME_
#Path to login
spring.sec.loginPath=/user/signin
#After success log in this is the default path user will sent
spring.sec.defaultLoginUrl=/user/dashboard
#Path if login fail
spring.sec.login.error=/user/signin?failure=true
#Path if recourse is denided
spring.sec.login.denied=/user/denied
#Log out
spring.sec.logout.url=/user/logout
#After log out the path will send user
spring.sec.logout.sucess=/home
#spring.sec.invalidate.session=true
# Security Keys
spring.sec.rememberMe.key=9Mdj7MVvkXOXJ8uRgtg/Xb/3eJyW0
spring.sec.anonymous.key=MU7kyU0he1MvXEDZ9Mdj7MVvkXOXJ8uRgtg/Xb/3eJyW0HZa3csBoyvinGEC4vmi
spring.sec.encrypt.algorithm.key=PBEWithMD5AndTripleDES
spring.sec.encrypt.password.key=password
#FIXME: Deprecated
sec.suspendedNotification = true
sec.forceLogin = false
#FIXME: Deprecated
sec.reCaptcha = true

# ----------------------------------------------------------------------------
#    NOTIFICATION
# ----------------------------------------------------------------------------

not.toaster.duration = 3
#FIXME: Deprecated
not.toaster.topic = myMessages
not.toaster.position = tr-right

not.main.delay = 60000
not.main.limit = 8

not.main.activity.levelDebug = info
not.main.activity.maxConnections = 2
not.main.activity.maxNetworkDelay = 50000

# ----------------------------------------------------------------------------
#    NOTIFICATION LIST
# ----------------------------------------------------------------------------

not.list.max.by.category = 100

# ----------------------------------------------------------------------------
#    TWEETPOLL / POLL / SURVEY
# ----------------------------------------------------------------------------
# min answer required by tweetpoll
tp.min.answer.allowed = 2
tp.min.answer.hr = false
tp.min.answer.minsoa = 1

#--------------------------------------------------------------------------------
# Resources Cache
#--------------------------------------------------------------------------------


## The period of time resources should be cached for in seconds. The default is to not send any cache headers but rather to rely on last-modified timestamps only.
cache.period=5
cache.useExpiresHeader=true
cache.useCacheControlHeader=true
cache.useCacheControlNoStore=true


#--------------------------------------------------------------------------------
# Cron Jobs
#--------------------------------------------------------------------------------
cron.reindex = 0 15 10 ? * MON-FRI
cron.attachment = 0 15 10 * * ?
cron.calculateReindex = 0 0 12 * * ?
cron.calculateRelevance = 0 0 12 * * ?
cron.removeUnconfirmedAccount = 0 0 12 * * ?
cron.sendNotifications = */5 * * * * ?
cron.removeSpamComments = 0 0 12 * * ?
cron.publishAllScheduled = 0 0/3 * * * ?
cron.removeAllScheduled = 0 0/3 * * * ?

#--------------------------------------------------------------------------------
# Required app config.
#--------------------------------------------------------------------------------
# application name
application.name = encuestame
# default application title
application.title = encuestame survey system
# default app encoding
application.encoding = UTF-8
# this is default domain, is used on vote support and short url operations.
application.domain = http://localhost:8080/
# default small logo app
application.logo.small = images/logos/2013/horizontal/encuestame_horizontal_small_alpha.png
# small logo focused for embed enviroments
application.logo.icon = images/logos/2013/logo/logo_xtra_small.png

application.mail.source = url

application.mail.logo.url  = https://raw.githubusercontent.com/encuestame/encuestame/master/enme-war/enme-views/src/main/webapp/resource/images/logos/2013/horizontal/encuestame_horizontal_small_alpha.png

application.mail.logo.base64 = 

# default medium logo app
#FIXME: Deprecated
application.logo.medium = images/logos/encuestame_mobile_header.png
# default huge logo app
#FIXME: Deprecated
application.logo.huge = images/logos/encuestame_mobile_header.png
# enabled singup for anonymous users
application.signup.enabled = true
# define if anonymous users are allowed, only logged user.
# this property
application.private = true
# mobile view is enabled or disabled
application.mobile.enabled = true
# define if the only mobile view should be displayed
application.mobile.only = false
# define if user can log in with social accounts
application.social.signin.enabled = true
# define the limit size to file upload
application.file.upload.limit = 10485760
# default bug tracker url
application.official.bugtrac = http://www.encuestame.org/issues
application.official.wiki = http://www.encuestame.org/wiki
application.official.about = http://www.encuestame.org/#about
application.official.faq = http://www.encuestame.org/#about
application.official.contact = mailto:info@encuestame.org
# Enable offline mode, disable short url and load images as avatar support.
application.offline.mode = false
# Default timeout on http callbacks.
application.timeout = 20000

## Define if the application will use email to send notifications
## if this property is enabled the administrator must configure a email
application.email.enabled = true

#---------------------------------------------------------------------------------
# User Administration
#---------------------------------------------------------------------------------

application.user.unconfirmed.limit = 5
application.user.invitation.by.week = 10

#---------------------------------------------------------------------------------
# Proxy configuration
#---------------------------------------------------------------------------------
application.proxyPass = false

# --------------------------------------------------------------------------------
# Indexex configuration
# --------------------------------------------------------------------------------

# hibernate search store provider
hibernate.search.provider = org.hibernate.search.store.FSDirectoryProvider
#---------------------------------------------------------------------------------
# Social Provider Configuration
#---------------------------------------------------------------------------------

#---------------------------------------------------------------------------------
# Short url properties
#---------------------------------------------------------------------------------
## Options
# [yourls,googl,tinyurl,bitly]
short.default = yourls
short.google.key=
short.google.path=https://www.googleapis.com/urlshortener/v1/url?key=
short.tinyUrl.path = http://tinyurl.com/api-create.php
short.bitLy.key=
short.bitLy.login=
## yourls config
short.yourls.path = http://jota.mobi/s/yourls-api.php?action=shorturl
short.yourls.key=755bf7092e
twitter.tinyUrl = http://tinyurl.com/api-create.php

####################################################################################
#### SOCIAL PROVIDERS
####################################################################################
# twitter

twitter.oauth.request.token = https://api.twitter.com/oauth/request_token
twitter.oauth.access.token = https://api.twitter.com/oauth/access_token
twitter.oauth.authorize = https://api.twitter.com/oauth/authorize?oauth_token={token}
twitter.url.domain = http://twitter.com/
twitter.oauth.consumerKey = hs7a9Nzvej5wJkn1SPQ
twitter.oauth.consumerSecret = y4nNJ9jBQO5CW2MAYfPW7sk5033eRrGl1sjvOb9Tac
# linkedIn
linkedIn.oauth.api.key = 5hkdPhtfkRwR0uRhIftai57FA0xbpH7m2fsBFfELvVLf6KMqw1X_FdzsgPkFORuS
linkedIn.oauth.api.secret = 3Tuj7nXvACdCwffnbh-NkUXQ_Re0t1FPakogEPApw_3DBsfowdQuoggCCTd38a9o
linkedIn.oauth.authorize.url = https://www.linkedin.com/uas/oauth/authorize?oauth_token={token}
linkedIn.oauth.request.token = https://api.linkedin.com/uas/oauth/requestToken
linkedIn.oauth.access.token = 	https://api.linkedin.com/uas/oauth/accessToken
# facebook
facebook.api.key = 7884c549be98950cbfb2fee7e0709f83
facebook.api.secret = 30e79324a521022f380673392df04495
facebook.api.id = 172948326103458
facebook.oauth.authorize=https://www.facebook.com/dialog/oauth?client_id={client_id}&redirect_uri={redirect_uri}
facebook.oauth.accesToken=https://graph.facebook.com/oauth/access_token
# tripIt
#FIXME: Deprecated
tripIt.oauth.api.key = ed00208afc958b1d6fbd06f7a20faa03e810fa27
#FIXME: Deprecated
tripIt.oauth.api.secret = 47c29a0bb66df8c633580e3810536b9b25ff3a59
#FIXME: Deprecated
tripIt.oauth.api.request.url = https://api.tripit.com/oauth/request_token
#FIXME: Deprecated
tripIt.oauth.api.authorize.url = https://www.tripit.com/oauth/authorize?oauth_token={token}&oauth_callback=https://xxxx.com/connect/tripit
#FIXME: Deprecated
tripIt.oauth.api.accessToken.url = https://api.tripit.com/oauth/access_token
#Google
google.api.key = AIzaSyCvEMnlGa4q4Suayx1bMYXg-Wkf1jYmmaQ
google.client.id=287300901667.apps.googleusercontent.com
google.client.secret=oIJZgke5nPDSEEeNOy0lBrxv
google.authorizeURl=https://accounts.google.com/o/oauth2/auth?client_id={client_id}&redirect_uri={redirect_uri}&scope={scope}&response_type=code
google.accesToken=https://accounts.google.com/o/oauth2/token
google.register.client.id=287300901667-8e1g7ssrsqr220f49icn4cr7s5k18m3l.apps.googleusercontent.com
google.register.client.secret=anARiiZriXA_Vp1BYrlSQN7L
#http://code.google.com/intl/es/apis/gdata/faq.html#AuthScopes
google.contacts.scope = https://www.google.com/m8/feeds/
google.youtube.scope = http://gdata.youtube.com

#http://code.google.com/intl/es-ES/apis/igoogle/docs/opensocial_rest_rpc.html#2-legged

#identi.ca
#FIXME: Identi.ca has been renamed to http://pump.io/
# Currently this social network has been disabled
identica.consumer.key=801f384ec5dc1aecc4801841aae5ac9d
identica.consumer.secret=858629866209502c1023ce2dd86f14a2
identica.requestToken=https://identi.ca/api/oauth/request_token
identica.accessToken=https://identi.ca/api/oauth/access_token
identica.authorizeUrl=https://identi.ca/api/oauth/authorize?oauth_token={token}

#myspace
#FIXME: API closed, not valid
myspace.consumer.key=49226d7f290649829bb23b2b9351bba1
myspace.consumer.secret=547db3dff93c47c997bd5cfcfa82e6a4ebfaaba615b145c395bb36312643fddb
myspace.requestToken=http://api.myspace.com/request_token
myspace.accessToken=http://api.myspace.com/access_token
myspace.authorizeUrl="http://api.myspace.com/authorize?oauth_token={token}

#yahoo
yahoo.consumer.key=dj0yJmk9MXc5ZXZhS2FYaUZkJmQ9WVdrOU1YbzNXazR6TXpnbWNHbzlPRGd4T1RjM05qWXkmcz1jb25zdW1lcnNlY3JldCZ4PTU2
yahoo.consumer.secret=d0acfb77382f4da1faba47afb232bdca867fe6ed
yahoo.requestToken=https://api.login.yahoo.com/oauth/v2/get_request_token
yahoo.accessToken=https://api.login.yahoo.com/oauth/v2/get_token
yahoo.authorizeUrl=https://api.login.yahoo.com/oauth/v2/request_auth?oauth_token={token}
yahoo.apId=1z7ZN338

#Plurk
plurk.consumer.key=emDPLofjAuZx
plurk.consumer.secret=aa4uhQ9Yxg7QXrnworVjGkOjwqrzZ1Lq
plurk.requestToken=http://www.plurk.com/OAuth/request_token
plurk.accessToken=http://www.plurk.com/OAuth/access_token
plurk.authorizeUrl=http://www.plurk.com/OAuth/authorize?oauth_token={token}

#Tumblr
tumblr.consumer.key=Ex7i5SyVyue59czWqjFsm8PiIOsBmO2552pQEhVRGm0EiPJBRM
tumblr.consumer.secret=I1dGlEJAqEYopIUqDxrExMrNgi2u9n79K0DJo7hrafq94hYzCQ
tumblr.requestToken=http://www.tumblr.com/oauth/request_token
tumblr.accessToken=http://www.tumblr.com/oauth/access_token
tumblr.authorizeUrl=http://www.tumblr.com/oauth/authorize?oauth_token={token}

#-----------------------------------------------------------------------------
# Directory settings
#-----------------------------------------------------------------------------
# use real path on this directory
## eg: ${user.home}/encuestame-store
encuestame.home =
## ${user.home}/encuestame-store/indexes/domain/
#encuestame.home.hibernate.search.store.path = ${encuestame.home}/indexes/domain/
## if is enable get the catalina home by defualt if the home is missing
encuestame.system.home = false
#-----------------------------------------------------------------------------
# Mail settings
#-----------------------------------------------------------------------------
mail.host= localhost
mail.port= 25
mail.username =
mail.password =
mail.noresponse = info@nobody
mail.protocol = smtp
## This value is fixed on spring configuration
mail.encoding = UTF-8
#SMTP
mail.smtp.auth = false
mail.smtp.starttls.enable = false
mail.smtp.starttls.required = false
#SMTPS
mail.smtps.debug = false
mail.smtp.debug = false
mail.smtps.auth = false
mail.smtps.starttls.enable = false
mail.smtps.starttls.required = false
# Mail Messages Default Locale
mail.locale = es
mail.footer.greeting = Encuestame Team Conf
# default email header data.
mail.sender=no.reply@encuestame.org
mail.receiver=info@encuestame.org
mail.subject=Encuestame Notification Mail

#-----------------------------------------------------------------------------
# Social tweet url
#-----------------------------------------------------------------------------

social.twitter=https://twitter.com/#!/{username}/status/{id}
social.facebook=http://www.facebook.com/permalink.php?story_fbid={A}&id={B}
social.linkedin=http://www.linkedin.com/updates?view=all&trk=tab-nus-all
social.identica=http://identi.ca/notice/{id}
social.tubmlr= http://{username}.tumblr.com/post/{id}
social.plurk=http://www.plurk.com/{0}

#-----------------------------------------------------------------------------
# Social profile url
#-----------------------------------------------------------------------------

social.profile.twitter=https://twitter.com/#!/{username}
social.profile.facebook=https://www.facebook.com/profile.php?id={id}
social.profile.identica=http://identi.ca/{id}

#-----------------------------------------------------------------------------
# Google Analytics
#-----------------------------------------------------------------------------
google.analytic.code =

#-----------------------------------------------------------------------------
# Security
#-----------------------------------------------------------------------------
account.expire.limit = 7

#-----------------------------------------------------------------------------
# Comments Configuration
#-----------------------------------------------------------------------------
comments.max.length =  9000

#-----------------------------------------------------------------------------
# Updates link
#-----------------------------------------------------------------------------
update.link = http://www.encuestame.org/updates/check

comment.time.range = 365

# ----------------------------------------------------------------------------
#  Front End Home Configuration
# ----------------------------------------------------------------------------

front.profile.items = 20
front.hashtags.items = 20
front.home.items = 20
front.comments.items = 10


# ----------------------------------------------------------------------------
#  RSS / ATOM Configuration
# ----------------------------------------------------------------------------

rss.display.items = 100


# ----------------------------------------------------------------------------
# HashTags Configuration
# ----------------------------------------------------------------------------

hashtags.suggests.items = 10
hashtags.cloud.items = 10

# ----------------------------------------------------------------------------
# Demo Generation Parameters
# ----------------------------------------------------------------------------

#hashtag
demo.hashtab.by.item = 3

#tweetpoll
demo.votes.by.tppoll = 150
demo.limit.tweetpolls = false
demo.limit.tweetpolls.quantity = 20
demo.max.tweetpoll.folder = 5
demo.max.tweetpoll.hits = 20
demo.min.tweetpoll.hits = 20
demo.max.tweetpoll.votes = 40
demo.min.tweetpoll.votes = 40

#poll
demo.votes.by.poll = 100
demo.limit.polls = false
demo.limit.polls.quantity = 20
demo.max.poll.folder = 5
demo.max.poll.hits = 20
demo.min.poll.hits = 20
demo.min.poll.votes = 20
demo.max.poll.votes = 40

#survey
demo.votes.by.survey = 50

#comments
demo.max.comments.likes = 800
demo.min.comments.likes = 20
demo.max.comments.unlikes = 200
demo.min.comments.unlikes = 20


demo.max.tweetpoll.social.network.published = 5

geo.earth.radius.km = 6378


# ----------------------------------------------------------------------------
# SEO Metadata
# ----------------------------------------------------------------------------

web.description = encuestame survey system
web.keywords = survey, twitter, social, open source, etc, etc
web.author = encuestame team
dashboard.default.name = My Panel
dashboard.default.descr = My panel description

# ReCaptcha
captcha.private.key = 6LeytMUSAAAAANFxwgAGkQn-ajpbQKVFms2AWMRX
catpcha.public.key = 6LeytMUSAAAAAF84VURfI3TmYFEBLMLvyk5-zTxc